import { post,postnoloading,get,jsonPut,jsonPost} from '@api/base'

//查询用户信息
export function getUserInfo(params) {
   return get({ url: '/sst/user/patient/pat',
    method: 'get',
    params,
	timeout: 10000
  })
}

//通过回执单号 查询用户信息
export function getUserInfoByHzdh(params) {
   return get({ url: '/sst/report/testList',
    method: 'get',
    params,
	timeout: 10000
  })
}


//建档
export function putUserInfo(params) {
   return jsonPost({ url: '/sst/user/patient/pat',
    method: 'post',
    params,
	timeout: 10000
  })
}

//获取当前有效住院记录
export function getInpatientUnRecordList(params) {
   return jsonPost({ url: '/sst/inpatientVisitRecord/inpatientUnRecordList',
    method: 'post',
    params,
	timeout: 10000
  })
}


